<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>artical</title>
</head>
<body>
    
    <script>
        
        {

            // 正则表达式匹配，开头为11N, 12N或1NNN，后面是-7-8个数字的电话号码

            // let reg = /^[11N|12N|1NNN]-[\d{7}|\d{8}]$/g;
            // console.log(reg.test('11N-12345678'));

        }
        
        {
            // 
        }

    </script>

</body>
</html>